package jnpf.permission.model.organize;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.util.List;

/**
 *
 * @author JNPF开发平台组
 * @version V3.1.0
 * @copyright 引迈信息技术有限公司
 * @date 2021/3/12 15:31
 */
@Data
public class OrganizeDepartCrForm {
	/**
	 * 直属领导 多个逗号隔开
	 */
	private List<String> managerIds;
	/**
	 * 直属领导 多个逗号隔开
	 */
	@Schema(description = "直属领导")
	private List<String> directSupervisorIds;
	/**
	 * 分管领导 多个逗号隔开
	 */
	@Schema(description = "分管领导")
	private List<String> responsibleLeaderIds;

	@NotBlank(message = "必填")
	@Schema(description = "上级ID")
	private String parentId;
	@NotBlank(message = "必填")
	@Schema(description = "部门名称")
	private String fullName;
	@NotBlank(message = "必填")
	@Schema(description = "部门编码")
	private String enCode;
	@Schema(description = "状态")
	private int enabledMark;
	private String description;
	@Schema(description = "排序")
	private Long sortCode;
}
